package com.genghis.ptas.friend.entity;

import com.genghis.ptas.security.entity.User;

/**
 * Created with IntelliJ IDEA.
 * User: gaoyang
 * To change this template use File | Settings | File Templates.
 */
public class Friend {
    private int id;
    private int praiseNumber;
    private int userId;
    private int onLine;
    private int friendId;
    private String friendName;
    private int state;
    private String showOnLine;
    private String friendPhotoUrl;
    private User user;
    private int inboxId;

    public Friend() {
    }

    public Friend(int praiseNumber, int onLine) {
        this.praiseNumber = praiseNumber;
        this.onLine = onLine;
    }

    public Friend(int userId) {
        this.userId = userId;
    }

    public Friend(int userId, int praiseNumber, int onLine) {
        this.userId = userId;
        this.praiseNumber = praiseNumber;
        this.onLine = onLine;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPraiseNumber() {
        return praiseNumber;
    }

    public void setPraiseNumber(int praiseNumber) {
        this.praiseNumber = praiseNumber;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getOnLine() {
        return onLine;
    }

    public void setOnLine(int onLine) {
        this.onLine = onLine;
    }

    public int getFriendId() {
        return friendId;
    }

    public void setFriendId(int friendId) {
        this.friendId = friendId;
    }

    public String getFriendName() {
        return friendName;
    }

    public void setFriendName(String friendName) {
        this.friendName = friendName;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getShowOnLine() {
        return showOnLine;
    }

    public void setShowOnLine(String showOnLine) {
        this.showOnLine = showOnLine;
    }

    public String getFriendPhotoUrl() {
        return friendPhotoUrl;
    }

    public void setFriendPhotoUrl(String friendPhotoUrl) {
        this.friendPhotoUrl = friendPhotoUrl;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getInboxId() {
        return inboxId;
    }

    public void setInboxId(int inboxId) {
        this.inboxId = inboxId;
    }
}
